substring pandas column between the same character

welcome to shbcf.ru